   /* global Vue */
   var app= new Vue({
    el: "#box",
    data: {
        name: "info",
        urls: 'https://appapi.qikeya.cn/',
        orderid:this.$route.params,
        type:''
    },
    created(){
        console.log(1);
        // console.log(this.$route);
        let payEnv;
        // 判断微信还是支付宝
        if (/MicroMessenger/.test(window.navigator.userAgent)) {
         // 微信
         payEnv = 'weixin';
        } else if (/AlipayClient/.test(window.navigator.userAgent)) {
         // 支付宝
         payEnv = 'alipay';
        } else {
         payEnv = 'others';
        }
        console.log(payEnv);

    },
    methods: {
        getInfo(){

        }

    }
})